Optimal. Leaf size=80 \[ -\frac {2 \sqrt {a x^3+b x^4}}{5 a x^4}+\frac {8 b \sqrt {a x^3+b x^4}}{15 a^2 x^3}-\frac {16 b^2 \sqrt {a x^3+b x^4}}{15 a^3 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2041, 2025}
\begin {gather*} -\frac {16 b^2 \sqrt {a x^3+b x^4}}{15 a^3 x^2}+\frac {8 b \sqrt {a x^3+b x^4}}{15 a^2 x^3}-\frac {2 \sqrt {a x^3+b x^4}}{5 a x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2025
Rule 2041
Rubi steps
\begin {align*} \int \frac {1}{x^2 \sqrt {a x^3+b x^4}} \, dx &=-\frac {2 \sqrt {a x^3+b x^4}}{5 a x^4}-\frac {(4 b) \int \frac {1}{x \sqrt {a x^3+b x^4}} \, dx}{5 a}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{5 a x^4}+\frac {8 b \sqrt {a x^3+b x^4}}{15 a^2 x^3}+\frac {\left (8 b^2\right ) \int \frac {1}{\sqrt {a x^3+b x^4}} \, dx}{15 a^2}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{5 a x^4}+\frac {8 b \sqrt {a x^3+b x^4}}{15 a^2 x^3}-\frac {16 b^2 \sqrt {a x^3+b x^4}}{15 a^3 x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 42, normalized size = 0.52 \begin {gather*} -\frac {2 \sqrt {x^3 (a+b x)} \left (3 a^2-4 a b x+8 b^2 x^2\right )}{15 a^3 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 61, normalized size = 0.76
method | result | size |
trager | \(-\frac {2 \left (8 b^{2} x^{2}-4 a b x +3 a^{2}\right ) \sqrt {b \,x^{4}+a \,x^{3}}}{15 a^{3} x^{4}}\) | \(41\) |
risch | \(-\frac {2 \left (b x +a \right ) \left (8 b^{2} x^{2}-4 a b x +3 a^{2}\right )}{15 x \sqrt {x^{3} \left (b x +a \right )}\, a^{3}}\) | \(44\) |
gosper | \(-\frac {2 \left (b x +a \right ) \left (8 b^{2} x^{2}-4 a b x +3 a^{2}\right )}{15 x \,a^{3} \sqrt {b \,x^{4}+a \,x^{3}}}\) | \(46\) |
default | \(-\frac {2 \sqrt {x \left (b x +a \right )}\, \sqrt {b \,x^{2}+a x}\, \left (8 b^{2} x^{2}-4 a b x +3 a^{2}\right )}{15 x^{2} \sqrt {b \,x^{4}+a \,x^{3}}\, a^{3}}\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.97, size = 40, normalized size = 0.50 \begin {gather*} -\frac {2 \, \sqrt {b x^{4} + a x^{3}} {\left (8 \, b^{2} x^{2} - 4 \, a b x + 3 \, a^{2}\right )}}{15 \, a^{3} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{2} \sqrt {x^{3} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.90, size = 82, normalized size = 1.02 \begin {gather*} \frac {2 \, {\left (20 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{2} b + 15 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} a \sqrt {b} + 3 \, a^{2}\right )}}{15 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{5} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.14, size = 40, normalized size = 0.50 \begin {gather*} -\frac {2\,\sqrt {b\,x^4+a\,x^3}\,\left (3\,a^2-4\,a\,b\,x+8\,b^2\,x^2\right )}{15\,a^3\,x^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________